package org.aicfve.global.snapshot.entity;

import com.hava.orm.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "file")
public class File extends IdEntity {

    private String OriginalFilename;

    private String name;

    private String ContentType;

    //@Column(nullable = true)
    private Long size;

    private String savepath;

    private String urlpath;

    public String getUrlpath() {
        return urlpath;
    }

    public void setUrlpath(String urlpath) {
        this.urlpath = urlpath;
    }

    public String getSavepath() {
        return savepath;
    }

    public void setSavepath(String savepath) {
        this.savepath = savepath;
    }

    public String getOriginalFilename() {
        return OriginalFilename;
    }

    public void setOriginalFilename(String originalFilename) {
        OriginalFilename = originalFilename;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContentType() {
        return ContentType;
    }

    public void setContentType(String contentType) {
        ContentType = contentType;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }
}
